home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / srtsltn / data1.cab / Target / Samples / MFCSmpl / mfcsmplDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-05  |  2.3 KB  |  83 lines

  1. // Copyright ⌐ 1997 Mario M. Westphal
  2. // All Rights reserved
  3. // This source code is only intended as a supplement to the
  4. // Sort Solution user documentation and related
  5. // electronic documentation provided with the library.
  6. // See these sources for detailed information regarding the
  7. // Sort Solution product.
  8.  
  9. #if !defined(AFX_MFCSMPLDLG_H__6D5ADE11_FC0F_11D0_A443_0020AF498497__INCLUDED_)
  10. #define AFX_MFCSMPLDLG_H__6D5ADE11_FC0F_11D0_A443_0020AF498497__INCLUDED_
  11.  
  12. #if _MSC_VER >= 1000
  13. #pragma once
  14. #endif // _MSC_VER >= 1000
  15.  
  16.  
  17. // Include the Sort Solution interface header
  18. #include "..\..\Include\sortsoli.h"
  19.  
  20.  
  21. /////////////////////////////////////////////////////////////////////////////
  22. // CMfcsmplDlg dialog
  23.  
  24. class CMfcsmplDlg : public CDialog
  25. {
  26. // Construction
  27. public:
  28.     CMfcsmplDlg(CWnd* pParent = NULL);    // standard constructor
  29.  
  30. // Dialog Data
  31.     //{{AFX_DATA(CMfcsmplDlg)
  32.     enum { IDD = IDD_MFCSMPL_DIALOG };
  33.     CButton    m_Btn_Edit;
  34.     CEdit    m_Edit_FileName;
  35.     CButton    m_Btn_Cancel;
  36.     CProgressCtrl    m_Progress_Sort;
  37.     CProgressCtrl    m_Progress_Merge;
  38.     CButton    m_Btn_Exec;
  39.     CButton    m_Btn_Browse;
  40.     CString    m_Static_BytesSorted;
  41.     CString    m_Static_OutputFile;
  42.     CString    m_Static_LogFile;
  43.     CString    m_Static_RecsSorted;
  44.     CString    m_Static_Time;
  45.     CString    m_Static_RecsFiltered;
  46.     //}}AFX_DATA
  47.  
  48.     // ClassWizard generated virtual function overrides
  49.     //{{AFX_VIRTUAL(CMfcsmplDlg)
  50.     protected:
  51.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  52.     //}}AFX_VIRTUAL
  53.  
  54. public:
  55.     void ShowErrorMessage(int Code);
  56.     
  57.     BOOL IsRunning() const { return m_Running; }
  58.  
  59. // Implementation
  60. protected:
  61.     HICON    m_hIcon;
  62.     BOOL    m_Running;
  63.  
  64.     // Generated message map functions
  65.     //{{AFX_MSG(CMfcsmplDlg)
  66.     virtual BOOL OnInitDialog();
  67.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  68.     afx_msg void OnPaint();
  69.     afx_msg HCURSOR OnQueryDragIcon();
  70.     afx_msg void OnBtnBrowse();
  71.     afx_msg void OnBtnExec();
  72.     afx_msg void OnChangeEditFilename();
  73.     virtual void OnCancel();
  74.     afx_msg void OnBtnEdit();
  75.     //}}AFX_MSG
  76.     DECLARE_MESSAGE_MAP()
  77. };
  78.  
  79. //{{AFX_INSERT_LOCATION}}
  80. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  81.  
  82. #endif // !defined(AFX_MFCSMPLDLG_H__6D5ADE11_FC0F_11D0_A443_0020AF498497__INCLUDED_)
  83.